﻿using CommunityToolkit.Mvvm.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace MonitorModule.Models {
    /// <summary>
    /// 模块类
    /// </summary>
    /// 
    [Table("ModuleDetail")]
    public partial class ModuleDetail : ObservableObject {

        [ObservableProperty]
        private int _id;

        [ObservableProperty]
        private string _moduleName;

        //详情
        [ObservableProperty]
        private string _description;

        //是否选择
        [ObservableProperty]
        private bool _isSelected = false;

        [ObservableProperty]
        private string _name;
    }
}
